﻿Imports ActiveRecorder.User32Wrappers

Public Class BackToNormal

    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
        SetWindowLong(frmMain.Handle, GWL.ExStyle, frmMain._InitialStyle Or WS_EX.Layered)

        frmMain.Height = 425
        frmMain.TopMost = False
        frmMain.Opacity = 1
        frmMain.btOnTop.Text = "On top"
        frmMain.bOnTop = Not frmMain.bOnTop
        Me.Close()
    End Sub
End Class